<?php
include("inc/global.inc");

if($_POST[id]){

	$zl_rs=mysql_query("select * from ziliao where id='$_POST[id]'");
$zz_row=mysql_fetch_array($zl_rs);
  if($zz_row[id]){
   $hit=$zz_row[z_hit]+1;
   echo "<script>location='http://zl.sandib2b.cn/down/$zz_row[z_dizhi]'</script>";
   }else{
   echo "<script>alert('资料已经不存在');location='http://zl.sandib2b.cn/'</script>";
   }
}else{
	echo "<script>alert('下载失败,请联系网站客服');location='http://zl.sandib2b.cn/ziliao-info/".$_POST[id].".html'</script>";

}
?>
